<!doctype HTML public "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- Click to Convert 5.2: Anything to HTML -->
<!-- http://www.clicktoconvert.com -->

<html>
<head>
<title>gravityboxscheduleuserguide - page 204 of 234</title>
<meta http-equiv=content-type content=text/html;charset=iso-8859-1>
<meta name="Generator" content="Click to Convert">

<!--Start of page styles-->
<STYLE TYPE="text/css">
<!--
 /* Foreground Image Styles */

 /* Position Styles */
 .ts204p0{position:absolute;left:106px;top:97px;}
 .ts204p1{position:absolute;left:352px;top:97px;}
 .ts204p3{position:absolute;left:665px;top:97px;}
 .ts204p7{position:absolute;left:106px;top:113px;}
 .ts204p8{position:absolute;left:706px;top:1026px;}
 .ts204p9{position:absolute;left:331px;top:1044px;}
 .ts204p13{position:absolute;left:335px;top:146px;}
 .ts204p16{position:absolute;left:335px;top:164px;}
 .ts204p18{position:absolute;left:335px;top:183px;}
 .ts204p20{position:absolute;left:335px;top:201px;}
 .ts204p23{position:absolute;left:335px;top:220px;}
 .ts204p25{position:absolute;left:335px;top:238px;}
 .ts204p28{position:absolute;left:335px;top:256px;}
 .ts204p30{position:absolute;left:335px;top:275px;}
 .ts204p34{position:absolute;left:335px;top:293px;}
 .ts204p35{position:absolute;left:335px;top:312px;}
 .ts204p36{position:absolute;left:335px;top:330px;}
 .ts204p38{position:absolute;left:335px;top:348px;}
 .ts204p41{position:absolute;left:335px;top:367px;}
 .ts204p43{position:absolute;left:335px;top:385px;}
 .ts204p46{position:absolute;left:335px;top:404px;}
 .ts204p48{position:absolute;left:335px;top:422px;}
 .ts204p49{position:absolute;left:335px;top:440px;}
 .ts204p50{position:absolute;left:335px;top:459px;}
 .ts204p52{position:absolute;left:335px;top:477px;}
 .ts204p53{position:absolute;left:106px;top:497px;}
 .ts204p55{position:absolute;left:335px;top:497px;}
 .ts204p56{position:absolute;left:335px;top:515px;}
 .ts204p58{position:absolute;left:335px;top:533px;}
 .ts204p59{position:absolute;left:335px;top:551px;}
 .ts204p61{position:absolute;left:335px;top:570px;}
 .ts204p62{position:absolute;left:335px;top:588px;}
 .ts204p63{position:absolute;left:335px;top:606px;}
 .ts204p64{position:absolute;left:335px;top:625px;}
 .ts204p66{position:absolute;left:335px;top:643px;}
 .ts204p70{position:absolute;left:335px;top:662px;}
 .ts204p71{position:absolute;left:335px;top:680px;}
 .ts204p73{position:absolute;left:335px;top:698px;}
 .ts204p74{position:absolute;left:335px;top:717px;}
 .ts204p75{position:absolute;left:335px;top:735px;}
 .ts204p76{position:absolute;left:335px;top:754px;}
 .ts204p78{position:absolute;left:335px;top:772px;}
 .ts204p79{position:absolute;left:335px;top:790px;}
 .ts204p81{position:absolute;left:335px;top:809px;}
 .ts204p82{position:absolute;left:335px;top:827px;}
 .ts204p84{position:absolute;left:335px;top:846px;}
 .ts204p87{position:absolute;left:335px;top:864px;}
 .ts204p89{position:absolute;left:335px;top:882px;}
 .ts204p93{position:absolute;left:335px;top:901px;}
 .ts204p94{position:absolute;left:335px;top:919px;}
 .ts204p96{position:absolute;left:335px;top:938px;}
 .ts204p99{position:absolute;left:335px;top:956px;}
 .ts204p101{position:absolute;left:335px;top:974px;}

 /* Font Styles */
 .ft0p204{font-style:normal;font-weight:bold;font-size:13px;font-family:arial,sans-serif;color:#000000;}
 .ft1p204{font-weight:normal;}
 .ft2p204{font-style:normal;font-weight:normal;font-size:13px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft3p204{font-style:normal;font-weight:normal;font-size:16px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft4p204{font-style:normal;font-weight:bold;font-size:11px;font-family:arial,sans-serif;color:#000000;}
 .ft5p204{font-style:normal;font-weight:normal;font-size:16px;font-family:arial,sans-serif;color:#000000;}
 .ft6p204{font-style:normal;font-weight:normal;font-size:16px;font-family:"courier new",courier,monospace;color:#000000;}

 /* Background Style */
 .styleBackground204{position:absolute;left:97px;top:495px}

 /* Navigation Styles */
 .styleNavBarTop{position:absolute;left:0px;top:2px}
 .nb{position:absolute;left:2px;top:0px}
 .nbs{position:absolute;left:0px;top:0px}
 .nbe{position:absolute;left:836px;top:0px}
 .styleNavBarBot{position:absolute;left:0px;top:1117px}
-->
</STYLE>
<!--End of page styles-->

</head>
<body bgcolor="#ffffff" text="#000000" link="#0000FF" Vlink="#660099">

<table id="pageTable" width="836" STYLE="position: relative; left: auto; top: auto;"><tr><td>
<div class=nbs><img src="./navbarstart.gif" width="2" height="30"></div>
<div class=nb><img src="./navbar.gif" width="836" height="30" alt="Navigation bar"></div>
<div class=nbe><img src="./navbarend.gif" width="2" height="30"></div>
<div class=styleNavBarTop>
<table width="834" height="26" border="0" cellspacing="0">
  <tr align="left">
    <td width="4">&nbsp;</td>
    <td width="25" align="center"><a href="http://www.gravitybox.com" target="_parent"><img src="./home.gif" border="0" alt="Home"></a></td>
    <td width="25" align="center"><a href="#" onClick="window.open('./print.html','Printing','width=300,height=100,toolbar=no,directories=no');return false;"><img src="./print.gif" border="0" alt="Print document"></a></td>
    <td width="10" align="center"><img src="./separator.gif" border="0"></td>
    <td width="18" align="center"><a href="./index1.html"><img src="./start.gif" width="18" height="14" border="0" alt="Start"></a></td>
    <td width="18" align="center"><a href="./index203.html"><img src="./back.gif" width="14" height="14" border="0" alt="Previous page"></a></td>
    <td width="80" valign="middle"><table width="100%" height="16" border="0" cellspacing="1" bgcolor="#ACA899"><tr><td align="center" bgcolor="#ffffff"><font face=verdana,arial,sans-serif><font size="1">&nbsp;204 of 234&nbsp;</font></font></td></tr></table></td>
    <td width="18" align="center"><a href="./index205.html"><img src="./forward.gif" width="14" height="14" border="0" alt="Next page"></a></td>
    <td width="18" align="center"><a href="./index234.html"><img src="./end.gif" width="18" height="14" border="0" alt="End"></a></td>
    <td width="620">&nbsp;</td>
  </tr>
</table>
<p>
</div>
<nobr>
<div class=styleBackground204><img src="./background204.png" width="639" height="560" border="0" alt=""></div>
<div class=ts204p0><span class="ft0p204"> </span></div>
<div class=ts204p1><span class="ft0p204">Gravitybox Schedule Primer<span class="ft1p204"> </span></span></div>
<div class=ts204p3><span class="ft0p204">Page 202&nbsp; </span></div>
<div class=ts204p7><span class="ft2p204"> </span></div>
<div class=ts204p8><span class="ft3p204"> </span></div>
<div class=ts204p9><span class="ft4p204">1998&#45;2004 Gravitybox Software LLC<span class="ft3p204"> </span></span></div>
<div class=ts204p13><span class="ft5p204">PageTitle &#45; This is the title given to the page. If </span></div>
<div class=ts204p16><span class="ft5p204">generating a full HTML page this is also visible at the </span></div>
<div class=ts204p18><span class="ft5p204">top of the page. </span></div>
<div class=ts204p20><span class="ft5p204">HTMLHeader &#45; This is any addition HTML that you wish </span></div>
<div class=ts204p23><span class="ft5p204">to appear above the table. </span></div>
<div class=ts204p25><span class="ft5p204">HTMLFooter &#45; This is any addition HTML that you wish </span></div>
<div class=ts204p28><span class="ft5p204">to appear below the table. </span></div>
<div class=ts204p30><span class="ft5p204">TableOnly &#45; This will specify if you wish to have an </span></div>
<div class=ts204p34><span class="ft5p204">entire page with page headers and footer and page </span></div>
<div class=ts204p35><span class="ft5p204">tags or if you wish only the table definition to appear in </span></div>
<div class=ts204p36><span class="ft5p204">the file. </span></div>
<div class=ts204p38><span class="ft5p204">FileName &#45; This is the filename that will receive the </span></div>
<div class=ts204p41><span class="ft5p204">generated HTML. </span></div>
<div class=ts204p43><span class="ft5p204">Overwrite &#45; If the Filename exists and Overwrite is true </span></div>
<div class=ts204p46><span class="ft5p204">then the old file will be overwritten by the newly </span></div>
<div class=ts204p48><span class="ft5p204">generated HTML. If the Filename exists and the </span></div>
<div class=ts204p49><span class="ft5p204">Overwrite is false then NO HTML will be generated at </span></div>
<div class=ts204p50><span class="ft5p204">all. </span></div>
<div class=ts204p52><span class="ft5p204"> </span></div>
<div class=ts204p53><span class="ft5p204">ExportXML </span></div>
<div class=ts204p55><span class="ft6p204">Function ExportXML(oXMLParameters As </span></div>
<div class=ts204p56><span class="ft6p204">CXMLParameters) As Boolean </span></div>
<div class=ts204p58><span class="ft5p204"> </span></div>
<div class=ts204p59><span class="ft5p204">Although you will probably loop through the collections </span></div>
<div class=ts204p61><span class="ft5p204">and store the information in a database, there is an </span></div>
<div class=ts204p62><span class="ft5p204">alternative. The schedule has its own file format that </span></div>
<div class=ts204p63><span class="ft5p204">can be used instead of a database. If you are designing </span></div>
<div class=ts204p64><span class="ft5p204">a &#34;light&#34; program and do not wish to distribute a full&#45;</span></div>
<div class=ts204p66><span class="ft5p204">blown database like MS&#45;Access, you can use the </span></div>
<div class=ts204p70><span class="ft5p204">ImportXML and ExportXML methods to save </span></div>
<div class=ts204p71><span class="ft5p204">information without a database. </span></div>
<div class=ts204p73><span class="ft5p204"> </span></div>
<div class=ts204p74><span class="ft5p204">The parameter object allows you to control what will be </span></div>
<div class=ts204p75><span class="ft5p204">saved to the file. Seven collections can be saved from </span></div>
<div class=ts204p76><span class="ft5p204">this method. The ScheduleItems collection is always </span></div>
<div class=ts204p78><span class="ft5p204">saved, which means there are 6 collections that can be </span></div>
<div class=ts204p79><span class="ft5p204">conditionally saved.&nbsp; </span></div>
<div class=ts204p81><span class="ft5p204"> </span></div>
<div class=ts204p82><span class="ft5p204">The parameter object has the following properties: </span></div>
<div class=ts204p84><span class="ft5p204">Filename &#45; This is the full path of the file to use to </span></div>
<div class=ts204p87><span class="ft5p204">which to save the data. </span></div>
<div class=ts204p89><span class="ft5p204">Overwrite &#45; If the specified file already exists, this flag </span></div>
<div class=ts204p93><span class="ft5p204">will determines if the file is overwritten or the save is </span></div>
<div class=ts204p94><span class="ft5p204">canceled.&nbsp; </span></div>
<div class=ts204p96><span class="ft5p204">UseCategories &#45; determines the loading/saving state of </span></div>
<div class=ts204p99><span class="ft5p204">this collection </span></div>
<div class=ts204p101><span class="ft5p204">UseNoDropAreas &#45; determines the loading/saving state </span></div>
<div class=styleNavBarBot>
<table width="836" border="0" cellspacing="2">
  <tr></tr>
  <tr>
    <td width="118"><a href="http://www.purepage.com"><img src="./smalllogo.gif" width="118" height="46" border="0" alt="http://www.purepage.com"></a></td>
    <td></td>
  </tr>
</table>
</div>

</td></tr></table>

</body>
</html>
